
$('#tbl_produk_user').datagrid({
				title:'List Produk Reseller',
				//iconCls:'icon-ok',
				width:'auto',
				height:tinggi-225,
				nowrap: true,
				autoRowHeight: false,
				striped: true,
				collapsible:false,
				url: host+'home/get_data/tbl_produk_user',
				pagination:"true",
				queryParams:{
					
				},
				
			toolbar:[{
						iconCls:'icon-add',
						text:'Add',
						id:'add_data', 
						handler:function(){
								
						}
					 },'-',
					 {
						text:'Edit',
						iconCls:'icon-mini-edit',
						id:'edit_data',
						handler:function(){
							
						}
					
					 },'-',
					 {
						text:'Delete',
						iconCls:'icon-remove',
						handler:function(){
							
						}
					 },'-'
				
			],	
			frozenColumns:[[
				{field:'nama_produk' ,title:'Nama Produk', width:250, sortable:true},
				{field:'deskripsi' ,title:'Deskripsi', width:450, sortable:true},
			]],
				columns:[[
					
					{field:'harga' ,title:'Harga', width:150, sortable:true,align:'right'},
					{field:'warna' ,title:'Warna', width:150, sortable:true},
					{field:'kategori' ,title:'Kategori', width:150, sortable:true},
					{field:'status_aktif' ,title:'Aktif', width:150, sortable:true},
					{field:'persetujuan',title:'Persetujuan', width:150, sortable:true},
					
				]]
});